Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active May 2, 2026 12:31
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@seozxd
seozxd / gist:ace1d342d69d5d6f4da80a5902252e53
Created May 2, 2026 12:26
TRV Grup Adres Bildirim Sistemi – Truvabet Güncel Giriş Adresini Güvenle Öğrenin
Son dönemde sahte sitelerin ve dolandırıcıların sayısı ciddi şekilde arttı. Google’ın algoritmasını kötüye kullanan kişiler Truvabet’in arayüzünü birebir kopyalayarak sahte siteleri arama sonuçlarında üst sıralara taşıyor ve kullanıcıları büyük kayıplara uğratıyor. TRV Grup olarak en önemli önceliğimiz kullanıcı güvenliği. Bu nedenle zorlu bir geliştirme sürecinin ardından TRV Grup Adres Bildirim Sistemi‘ni hayata geçirdik.
Bu yazıda sistemin ne olduğunu, nasıl çalıştığını, neden güvenli olduğunu ve kendi sitenize nasıl ekleyebileceğinizi detaylı şekilde anlatıyoruz.
TRV Grup Adres Bildirim Sistemi Nedir?
TRV Grup Adres Bildirim Sistemi, Truvabet başta olmak üzere TRV Grup bünyesindeki sitelerin güncel giriş adreslerini otomatik olarak tespit eden ve kullanıcılara doğrudan gösteren bir altyapıdır. Sistem trv.trvgiris.com adresinde 7/24 aktif olarak çalışmaktadır.
Peki diğer yöntemlerden farkı ne? Klasik kısa link servisleri veya yönlendirme sayfaları sizi bir bağlantıya tıklatarak başka bir adrese yönlendi
"""
The most atomic way to train and run inference for a GPT in pure, dependency-free Python.
This file is the complete algorithm.
Everything else is just efficiency.
@karpathy
"""
import os # os.path.exists
import math # math.log, math.exp
@sebion7125
sebion7125 / Add to printer.cfg
Created May 1, 2026 15:44
Temperature-aware ENSURE_BED_MESH macro for Klipper
# ============================================================
# Klipper Macro: ENSURE_BED_MESH (Temperature-aware)
# ------------------------------------------------------------
# Ensures that the active bed mesh matches the current bed
# target temperature by encoding the temperature in the profile
# name, e.g.:
#
# mesh_bed_70
# mesh_bed_90
# mesh_bed_0
@kordless
kordless / README.md
Last active May 2, 2026 12:22
#Nuke Claude Desktop

Claude Desktop Uninstallers

Scripts to fully remove Claude Desktop and all the files it leaves behind, because Anthropic's official uninstaller doesn't.

The Problem

Anthropic shipped a Cowork feature in Claude Desktop that silently spins up a Linux VM on your machine. No warning. No disk space prompt. No way to opt out at install time.

The VM bundle grows to ~10GB and lives in your AppData/Application Support folder. When you uninstall Claude Desktop through the normal method, the VM bundle stays behind. Most users will never find it because it's buried in a hidden system folder.